package com.hl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 系统配置对象 system_conf
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class SystemConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配置ID，主键自增 */
    private Long id;

    /** 配置键名(唯一标识) */
    @Excel(name = "配置键名(唯一标识)")
    private String configKey;

    /** 配置值(可存JSON或数值) */
    @Excel(name = "配置值(可存JSON或数值)")
    private String configValue;

    /** 配置描述 */
    @Excel(name = "配置描述")
    private String configDesc;

    /** 配置分组(fee/vip/promotion等) */
    @Excel(name = "配置分组(fee/vip/promotion等)")
    private String groupName;

    /** 环境标识(prod/test/dev) */
    @Excel(name = "环境标识(prod/test/dev)")
    private String env;

    /** 是否启用(0/1) */
    @Excel(name = "是否启用(0/1)")
    private Integer isEnabled;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setConfigKey(String configKey) 
    {
        this.configKey = configKey;
    }

    public String getConfigKey() 
    {
        return configKey;
    }

    public void setConfigValue(String configValue) 
    {
        this.configValue = configValue;
    }

    public String getConfigValue() 
    {
        return configValue;
    }

    public void setConfigDesc(String configDesc) 
    {
        this.configDesc = configDesc;
    }

    public String getConfigDesc() 
    {
        return configDesc;
    }

    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }

    public void setEnv(String env) 
    {
        this.env = env;
    }

    public String getEnv() 
    {
        return env;
    }

    public void setIsEnabled(Integer isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public Integer getIsEnabled() 
    {
        return isEnabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configKey", getConfigKey())
            .append("configValue", getConfigValue())
            .append("configDesc", getConfigDesc())
            .append("groupName", getGroupName())
            .append("env", getEnv())
            .append("isEnabled", getIsEnabled())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
